// 屏幕可视高度
export const clientHeight = state => {
	//console.log('来自state:'+state.clientHeight)
	if(state.clientHeight) {
		return state.clientHeight
	} else {
		return window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
	}
}

// 头部高度
export const headerHeight = state => {
	return state.headerHeight || 46
}

// 底部高度
export const tabHeight = state => {
	return state.tabHeight || 44
}

// 用户信息
export const userInfo = state => {
	return state.userInfo
}

//下载app提示
export const isShowDownloadApp = state => {
	return state.isShowDownloadApp
}

//下载app提示
export const isUseZAWGYI = state => {
	return state.isUseZAWGYI
}

//购物车数量
export const goodsCartNum = state => {
	return state.goodsCartNum
}